;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-right" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M253.647872 911.81056l48.335872 48.336896 446.498816-446.589952L301.983744 67.017728 253.647872 115.3536l398.239744 398.232576L253.647872 911.81056z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-arow-up" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.999488 255.994372 59.557838 708.502419 120.392814 768.004605 511.999488 376.330064 903.606163 768.004605 964.442162 708.502419Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-shouye" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M635.472638 959.485661 635.472638 619.934245 388.526339 619.934245 388.526339 959.485661l-308.321134 0.210801-0.36225-555.841507L512.000512 64.303538l432.155511 339.551416 0 30.868031 0 0 0 0-0.36225 524.973476L635.472638 959.485661 635.472638 959.485661zM141.579017 434.724009l0 463.024565 185.210235 0L326.789253 558.197158l370.419448 0 0 339.551416 185.210235 0L882.418936 434.724009 512.000512 156.908656 141.579017 434.724009 141.579017 434.724009z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-close" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M212.866086 137.6638l665.445985 665.461335c11.48921 11.458509 11.48921 30.126556 0 41.614743l-41.587112 41.587112c-11.488186 11.488186-30.098926 11.488186-41.587112 0L129.692885 220.837001c-11.488186-11.473859-11.488186-30.083575 0-41.571762l41.586089-41.601439C182.767161 126.18994 201.3779 126.18994 212.866086 137.6638z"  ></path>' +
    '' +
    '<path d="M836.725983 137.6638l41.587112 41.601439c11.48921 11.488186 11.48921 30.097902 0 41.571762L212.866086 886.32699c-11.488186 11.488186-30.098926 11.488186-41.587112 0l-41.586089-41.587112c-11.488186-11.488186-11.488186-30.156234 0-41.614743l665.445985-665.461335C806.627057 126.18994 825.237796 126.18994 836.725983 137.6638z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-arrow-left" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M853.333333 554.666667 341.333333 554.666667 576 789.333333 512 853.333333 170.666667 512 512 170.666667 576 234.666667 341.333333 469.333333 853.333333 469.333333 853.333333 554.666667Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-edit1" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M514.894 147.925c0 0 36.345 4.681 36.345 40.2 0 0-1.652 35.795-35.795 35.795L197.699 223.92l0 607.499 607.591 0-2.386-316.736c0 0 4.956-37.997 38.548-37.997 0 0 37.997 1.377 37.997 38.548l0 339.865c0 0-1.469 50.663-51.214 50.663L172.918 905.762l-2.203 0c0 0-46.533-3.396-48.46-51.03L122.255 198.312c0 0 1.377-45.982 51.489-50.388L514.894 147.924zM921.301 215.384 811.714 106.348c0 0-21.614-19.136-42.128 1.377L349.321 526.843l0 149.649 151.53 0 420.449-418.155C921.301 258.337 943.053 237.136 921.301 215.384zM477.08 602.332l-52.866 0 0-49.929 364.921-365.656 52.866 48.46L477.08 602.332z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-triangle" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M93.37191 57.154573 930.62809 540.635608 93.37191 1024Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-tanhao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M480.011 734.419l63.162 0 0-315.804-63.162 0 0 315.804zM511.592 974.432c247.673 0 448.442-200.771 448.441-448.443 0-247.673-200.771-448.444-448.441-448.443-247.666 0-448.442 200.772-448.441 448.443 0 247.673 200.776 448.443 448.441 448.443zM511.592 115.441c226.738 0 410.546 183.808 410.546 410.546 0 226.739-183.808 410.546-410.546 410.546-226.737 0-410.546-183.808-410.546-410.546-0.001-226.738 183.808-410.546 410.546-410.546zM511.592 368.086c24.419 0 44.219-19.787 44.219-44.212 0-24.414-19.8-44.213-44.219-44.213-24.412 0-44.206 19.8-44.206 44.213 0 24.425 19.793 44.212 44.206 44.212z" fill="#9B9B9B" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-edit2" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M950.06715 240.853533l-465.888799 465.890846h-167.873382v-167.873382L782.189675 72.979128c6.558369-6.55223 15.138792-9.749038 23.732518-9.749038 8.606005 0 17.201777 3.196809 23.75503 9.749038l120.387881 120.388904c6.5553 6.5553 9.749038 15.134699 9.749038 23.742751 0.002047 8.578376-3.192715 17.187451-9.746992 23.73968v0.00307zM805.936519 161.15333L400.242683 566.848189v55.954383h55.954383l405.694859-405.693836-55.955406-55.955406z m-307.769572 41.967834H148.430564v671.493527h671.494551V524.878309c0-23.167652 18.782785-41.964764 41.967834-41.964764s41.967834 18.796088 41.967833 41.964764v377.713574c0 30.903847-25.053606 55.959499-55.955406 55.959499H120.451326c-30.903847 0-55.955406-25.052582-55.955406-55.959499v-727.447911c0-30.902824 25.050536-55.954383 55.955406-55.954383h377.715621c23.184025 0 41.967834 18.798135 41.967834 41.967834 0 23.168676-18.782785 41.963741-41.967834 41.963741z" fill="#060404" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)